<input type="hidden" id="viewCheck" shiro:hasPermission="allAuditview" value="1" />
<div class="row-content am-cf">
	<div class="row">
		<div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
			<div class="widget am-cf">
				<form class="am-form am-form-horizontal">
					<div class="am-form-group">
						<label class="am-u-lg-1 am-form-label">审批进度：</label>
						<div class="am-u-sm-1">
							<select data-am-selected="{btnSize: 'sm'}" id="status">
								<option value="">全部</option>
								<option value="owns_ing">镇级代理审批</option>
								<option value="countyge_ing">县级代理审批</option>
								<option value="company_ing">总部审批</option>
							</select>
						</div>
						<label class="am-u-lg-1 am-form-label ">信用等级</label>
						<div class="am-u-sm-1">
							<select data-am-selected="{btnSize: 'sm'}" id="rating">
								<option value="">全部</option>
								<option th:each="rating : ${ratings}" th:value="${rating.name()}" th:utext="${rating.name()}"></option>
							</select>
						</div>
						<label for="userCond" class="am-u-lg-2 am-form-label">输入用户名/借款人姓名：</label>
						<div class="am-u-lg-2">
							<input type="text" class="am-form-field " placeholder="输入关键字搜索" id="userCond" th:value="${userCond}" />
						</div>
						<label for="agentCond" class="am-u-lg-2 am-form-label">输入代理人姓名/手机号：</label>
						<div class="am-u-lg-2  am-u-end">
							<input type="text" class="am-form-field " placeholder="输入关键字搜索" id="agentCond" th:value="${agentCond}" />
						</div>
					</div>
					<div class="am-form-group">
	
						<label class="am-u-lg-1 am-form-label">审结时间：</label>
						<div class="am-u-sm-2">
							<input type="text" placeholder="开始时间" th:value="${startTime}" id="startTime" readonly="readonly" class="form-datetime-lang am-form-field"/>
						</div>
						<div class="am-u-sm-2">
							<input type="text" placeholder="结束时间" th:value="${endTime}" id="endTime" readonly="readonly" class="form-datetime-lang am-form-field"/>
						</div>
						<button type="button" class="am-btn am-btn-secondary" onclick="search()"  shiro:hasPermission="audit:allAuditq">查询</button>
					</div>
				</form>

				<div class="widget-body  am-fr">

					<!-- 表格 -->
					<div class="am-u-sm-12">
						<div
							class="widget-main padding-6 no-padding-left no-padding-right">
							<div id="dtGridContainer" class="dlshouwen-grid-container"></div>
							<div id="dtGridToolBarContainer"
								class="dlshouwen-grid-toolbar-container"></div>
						</div>
					</div>

				</div>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript" th:src="@{/customer/audit/allAuditList.js}" />

